package com.treasure.mall.biz.remote.live.dto;

import com.treasure.mall.biz.dto.live.LiveMessageUserLevel;
import lombok.Builder;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 *
 * 发送消息对象实体
 * +---------------------------------------------------------
 * * @package: com.treasure.mall.biz.remote.live.dto
 * * @author: guomw (guomwchen@foxmail.com)
 * * @date: 2020/6/22 00:30
 * * @since: V1.0.0
 * +---------------------------------------------------------
 * 注意：本内容仅限于内部传阅，禁止外泄以及用于其他的商业目的
 * Copyright 2019-2022 com.treasure.mall.biz.remote.live.dto Inc. All rights reserved.
 */
@Data
@Builder
public class MessageBodyDTO {

    /**
     * 群ID
     */
    private String groupId;

    /**
     * 用户昵称
     */
    private String name;
    /**
     * 消息
     */
    private String message;

    private String face;

    /**
     * ID
     */
    private String id;
    /**
     * 消息类型desc {@link com.treasure.mall.biz.remote.live.enums.MessageType}
     */
    private String type;
    /**
     * 用户ID
     */
    private Long userId;
    /**
     * 商品ID
     */
    private Long productId;


    /**
     * 拍卖商品sessionId
     */
    private Long auctionSessionId;
    /**
     * 金额
     */
    private BigDecimal money;
    /**
     * 订单号
     */
    private String orderId;

    /**
     * 用户有效订单总金额
     */
    private BigDecimal validPayOrderSum;
    /**
     * 开始直播通知时需要传
     */
    private String playUrl;
    /**
     * 会话ID
     */
    private String sessionId;

    private LocalDateTime time;
    /**
     * 人数，选填
     */
    private Integer memberNum;


    private LiveMessageUserLevel level;
}
